const app = getApp()

Page({
  data: {

  },
  onLoad: function () {},
    onGotUserInfo: function (e) {
        wx.setStorage({
            key: "UserInfo",
            data: e.detail.userInfo
        })
        setTimeout(function(){
            wx.navigateTo({
                url: "../test/test?UserInfo=" + e.detail.userInfo +'&videoName= 微信小程序分享朋友圈'
            })
        },1000)
    },
    ongetUserInfo:function(e){
        wx.setStorage({
            key: "UserInfo",
            data: e.detail.userInfo
        })
        setTimeout(function () {
            wx.navigateTo({
                url: "../test2/test2?UserInfo=" + e.detail.userInfo + '&videoName= 微信小程序分享朋友圈'
            })
        }, 1000)
    }
})
